import { post, get,del, postToken, delToken} from '@/utils/request'

export function getPreorderInfo() {
    return get('/preorder/list');
}

export function deletePreorder(data, token)
{
    return delToken('/preorder/del',data, token);
}

export function updatePreorder(data, token) {
    return postToken('/preorder/update', data, token);
}